home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d10 / casext.arc / CASEXT.DOC next >
Text File  |  1990-06-11  |  5KB  |  143 lines

  1.  
  2.  
  3.  
  4. HARDWARE-SPECIFIC INFORMATION
  5.  
  6. Two of the DCA/Intel CAS functions, Get Hardware Status (12H) and Run
  7. Diagnostics (13H), return information that varies depending on the kind of
  8. hardware used to implement the specification.  This appendix lists that
  9. hardware-specific information for the Intel Connection CoProcessor.
  10.  
  11. Be aware that if your code relies on the information returned by these
  12. functions, that code might not work correctly on hardware other than the
  13. Connection CoProcessor.  In addition, Intel reserves the right to change
  14. without notice the information these functions return.
  15.  
  16. Get Hardware Status (12H):
  17.  
  18. Upon successful completion, this function returns a 51-byte status area
  19. pointed to by DS:DX.  The status area contains the following information:
  20.  
  21.           Byte 0:
  22.             Bit 7 - set if the hardware is busy sending or receiving.
  23.             Bit 6 - set if this is the last page
  24.             Bit 5 - set if no data on current page
  25.             Bit 4 - set if re-transmit request for current page being
  26.                      transmitted
  27.             Bit 3 - set if NSF mode active
  28.             Bit 2 - reserved
  29.             Bit 1 - reserved
  30.             Bit 0 - reserved
  31.  
  32.           Byte 1: Number of 1K-byte areas of free buffer space
  33.  
  34.           Byte 2:
  35.             Bit 7 - set if the Connection CoProcessor has document(s) to
  36.                      send
  37.             Bits 6 -0:   number of discrete pages are in the buffer.
  38.  
  39.           Byte 3: Number of retries left to dial this number
  40.  
  41.           Byte 4: Page number to re-transmit
  42.  
  43.           Byte 5:
  44.             Bit 7 - set if the Connection CoProcessor is originating a call
  45.             Bit 6 - set if a Facsimile message will be sent
  46.             Bit 5 - set if off hook (on line)
  47.             Bit 4 - set if ring detected and receive is enabled
  48.             Bit 3 - set if buffer dumped on receive
  49.             Bits 2 - 0 tell what sequence state the hardware is in.  The
  50.                      states are:
  51.                            0 - idle
  52.                            1 - dial
  53.                            2 - answer
  54.                            3 - transmit
  55.                            4 - receive
  56.                            5 - pre-message
  57.                            6 - post-message
  58.                            7 - disconnect
  59.  
  60.           Byte 6:
  61.             Bit 7 - reserved
  62.             Bits 6 - 4:
  63.               6  5  4   Baud Rate
  64.               0  0  0   300 baud   (SDLC mode)
  65.               1  0  0   2400 baud  (V.27 ter)
  66.               1  0  1   4800 baud  (V.27 ter)
  67.               1  1  0   7200 baud  (V.29)
  68.               1  1  1   9600 baud  (V.29)
  69.  
  70.             Bits 3 - 0: reserved and should be set to 0110
  71.  
  72.           Bytes 7, 8, 9: reserved
  73.  
  74.           Byte 10:
  75.             Bit 7 - set if the modem option is installed
  76.             Bit 6 - set if Connection CoProcessor has control of the DAA
  77.                      (not latched)
  78.             Bit 5 - set if offhook (not latched)
  79.             Bit 4 - set if ring is detected (not latched)
  80.             Bit 3 - set if data in command buffer (not latched)
  81.             Bit 2 - set if DMA channel 1 is in use, cleared if DMA channel
  82.                      3 is in use.
  83.             Bit 1 - set if line length compensation bit 1 is set (not
  84.                      latched)
  85.             Bit 0 - set if line length compensation bit 0 is set (not
  86.                      latched)
  87.  
  88.           Byte 11:
  89.             Bit 7 - reserved
  90.             Bit 6 - not used
  91.             Bit 5 - set if spare switch is open
  92.             Bit 4 - set if fax ADR1 switch is open
  93.             Bit 3 - set if fax ADR0 switch is open
  94.             Bit 2 - set if alternate interrupt switch is open
  95.             Bit 1 - set if COM SEL 1 switch is open
  96.             Bit 0 - set if COM SEL 0 switch is open
  97.  
  98.           Byte 12:
  99.             Bit 7 - reserved
  100.             Bit 6 - set if the auxiliary relay forced on
  101.             Bit 5 - set if the modem select relay forced on
  102.             Bit 4 - set if offhook relay forced on
  103.             Bit 3 - 9600 bps (V.29) enabled
  104.             Bit 2 - 7200 bps (V.29) enabled
  105.             Bit 1 - 4800 bps (V.27 ter) enabled
  106.             Bit 0 - 2400 bps (V.27 ter) enabled
  107.  
  108.           Byte 13: reserved
  109.  
  110.           Byte 14: low byte of error count (received errors or
  111.                      retransmission requests.)  This value is reset
  112.                      whenever the hardware goes busy; thus it represents
  113.                      the errors for the most recent activity.
  114.  
  115.           Byte 15: high byte of error count
  116.  
  117.           Byte 16: low byte of file length for nonstandard file format
  118.                      (NSF) in bytes
  119.  
  120.           Byte 17: file length for NSF in bytes
  121.  
  122.           Byte 18: file length for NSF in bytes
  123.  
  124.           Byte 19: high byte of file length for NSF in bytes
  125.  
  126.           Bytes 20 - 29: reserved
  127.  
  128.           Bytes 30 - 50: CSID
  129.  
  130.           Bytes 51 - 127: reserved
  131.  
  132.  
  133. Run Diagnostics (13H):
  134.  
  135. If you use this function to report on the progress of the diagnostics and
  136. the value returned in AX is a negative number, the Connection CoProcessor
  137. failed the diagnostics.  Bits 0-3 contain more information.
  138.  
  139.      Bit 3 -    Set if 9600 bps fax modem module failed
  140.      Bit 2 -    Set if SDLC chip failed
  141.      Bit 1 -    Set if RAM failed
  142.      Bit 0 -    Set if ROM checksum failed
  143.